#include "ShotMessage.h"

vsznDefault(ShotMessage);

ShotMessage::ShotMessage() {
}

ShotMessage::ShotMessage(string _player, float _timestamp):
	player(_player), timestamp(_timestamp){
}

ShotMessage::~ShotMessage() {
}

string ShotMessage::getPlayer() const
{
    return player;
}

float ShotMessage::getPositionX() const
{
    return positionX;
}

float ShotMessage::getPositionY() const
{
    return positionY;
}

float ShotMessage::getTimestamp() const
{
    return timestamp;
}

float ShotMessage::getVelocityX() const
{
	return velocityX;
}

float ShotMessage::getVelocityY() const
{
	return velocityY;
}

void ShotMessage::setPlayer(string player)
{
    this->player = player;
}

void ShotMessage::setPositionX(float positionX)
{
    this->positionX = positionX;
}

void ShotMessage::setPositionY(float positionY)
{
    this->positionY = positionY;
}

void ShotMessage::setTimestamp(float timestamp)
{
    this->timestamp = timestamp;
}

void ShotMessage::setVelocityX(float velocityX)
{
	this->velocityX = velocityX;
}

void ShotMessage::setVelocityY(float velocityY)
{
	this->velocityY = velocityY;
}
